package com.atguigu.yygh.cmn.exceldemo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author:ahang
 * @create:2022-08-30 23:53
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    @ExcelProperty(index = 0,value = "编号")
    private Integer code;
    @ExcelProperty(index = 1,value = "姓名")
    private String name;
    @ExcelProperty(index = 2,value = "地址")
    private String address;
    @ExcelProperty(index = 3,value = "年龄")
    private Integer age;
}
